package com.lxmes.system.domain;

import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 审批任务流程对象 sys_sp_task_process
 * 
 * @author zhangzhiyu
 * @date 2023-06-28
 */
@ApiModel(value = "SysSpTaskProcess", description = "审批任务流程对象")    
public class SysSpTaskProcess extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty("主键")
    private Long id;

    /** 工厂名称 */
    @Excel(name = "工厂名称")
    @ApiModelProperty("工厂名称")
    private String factoryName;

    /** 工厂代码 */
    @Excel(name = "工厂代码")
    @ApiModelProperty("工厂代码")
    private String factoryCode;

    /** 任务编号 */
    @Excel(name = "任务编号")
    @ApiModelProperty("任务编号")
    private String taskId;

    /** 审批状态 */
    @Excel(name = "审批状态")
    @ApiModelProperty("审批状态")
    private String spFlag;

    /** 是否审批完成 */
    @Excel(name = "是否审批完成")
    @ApiModelProperty("是否审批完成")
    private String isSpwc;

    /** 审批建议 */
    @Excel(name = "审批建议")
    @ApiModelProperty("审批建议")
    private String spRemark;

    /** 审批节点 */
    @Excel(name = "审批节点")
    @ApiModelProperty("审批节点")
    private String spSolt;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFactoryName(String factoryName) 
    {
        this.factoryName = factoryName;
    }

    public String getFactoryName() 
    {
        return factoryName;
    }
    public void setFactoryCode(String factoryCode) 
    {
        this.factoryCode = factoryCode;
    }

    public String getFactoryCode() 
    {
        return factoryCode;
    }
    public void setTaskId(String taskId) 
    {
        this.taskId = taskId;
    }

    public String getTaskId() 
    {
        return taskId;
    }
    public void setSpFlag(String spFlag) 
    {
        this.spFlag = spFlag;
    }

    public String getSpFlag() 
    {
        return spFlag;
    }
    public void setIsSpwc(String isSpwc) 
    {
        this.isSpwc = isSpwc;
    }

    public String getIsSpwc() 
    {
        return isSpwc;
    }
    public void setSpRemark(String spRemark) 
    {
        this.spRemark = spRemark;
    }

    public String getSpRemark() 
    {
        return spRemark;
    }
    public void setSpSolt(String spSolt) 
    {
        this.spSolt = spSolt;
    }

    public String getSpSolt() 
    {
        return spSolt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("factoryName", getFactoryName())
            .append("factoryCode", getFactoryCode())
            .append("taskId", getTaskId())
            .append("spFlag", getSpFlag())
            .append("isSpwc", getIsSpwc())
            .append("spRemark", getSpRemark())
            .append("spSolt", getSpSolt())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
